<?php
/**
 * Created by PhpStorm.
 * User: tri
 * Date: 8/10/2014
 * Time: 12:43 PM
 */
?>
<ul class="bottom-tool-box">

        <li  id="share_s" data-post-id="<?php echo $postId ?>" data-user-id="<?php echo $_SESSION["authenticated"] ?>" class="share">
        <p>Share</p>
    </li>


    <li data-rel="redo" data-post-id="<?php echo $postId ?>" data-user-id="<?php echo $_SESSION["authenticated"] ?>" class="redo">
        <p>Redo</p>
    </li>
    <li class="report" data-rel="report" data-post-id="<?php echo $postId ?>">
        <p>Report</p>
    </li>
    <?php if($userId ==  $_SESSION["authenticated"]){ ?>
    <li data-rel="delete" data-post-id="<?php echo $postId ?>" data-user-id="<?php echo $_SESSION["authenticated"] ?>" class="delete">
        <p>Delete</p>
    </li>
    <?php } ?>
</ul>
<div class="confirm-class" data-post-id="<?php echo $postId ?>" data-user-id="<?php echo $_SESSION["authenticated"] ?>" >
    <p class="confirm-text">Are you sure ?</p>
    <button class="btn-confirm btn-confirm-yes">Yes</button>
    <button class="btn-confirm btn-confirm-no">No</button>
</div>

